--- Compiling for Mac OS X

To compile mac versions simply run the following command in the terminal, after having changed to the "OS X" directory

g++ -framework OpenGL -framework GLUT -framework Foundation -o LBreeder ../src/*.cpp ../src/*.c

This will produce a command line version of the LBreeder app. To open .ls files from the finder,
an applescript droplet ("LBreeder.app") is provided. To compile this application, open the file
LBreeder.xcode, compile it, then in the terminal window that you used to compile the command-line version, do

mv LBreeder build/LBreeder.app/Contents/MacOS/LBreeder-GL

-----------

For reference, the applescript used is simply

on open names
	set exe to quoted form of ((executable path of main bundle) & "-GL")
	repeat with i in names
		do shell script exe & " " & quoted form of POSIX path of i & " > /dev/null 2>&1 &"
	end repeat
	quit
	return true --work around applescript bug
end open

Yan Wong
